package com.lzg.simpleFactory;

/**
 * @Author lizhigang Date: 2019/4/16 21:27
 * @description:简单工厂测试
 */
public class SimpleFatoryTest {
	public static void main(String[] args) {
		IProduct product = new ShoeProduct();
		product.make();
//		ProductFactory productFactory = new ProductFactory();
//		IProduct product = productFactory.createInstance(ShoeProduct.class);
//		product.make();
	}
}
